package cn.yunhe.service.impl;

import cn.yunhe.dao.IAdminDao;
import cn.yunhe.entity.Admin;
import cn.yunhe.service.IAdminService;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
@Getter
@Setter
public class AdminService implements IAdminService {

    private IAdminDao adminDao;
    @Override
    public List<Admin> getAll() {
        return adminDao.getAll();
    }
}
